package com.hmys.api.mapper;

import com.hmys.api.model.WebNewsType;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WebNewsTypeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WebNewsType record);

    int insertSelective(WebNewsType record);

    WebNewsType selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WebNewsType record);

    int updateByPrimaryKeyWithBLOBs(WebNewsType record);

    int updateByPrimaryKey(WebNewsType record);

    List<WebNewsType> selectByBean(WebNewsType record);
}